class CreateOvernights < ActiveRecord::Migration
  def self.up
    create_table :overnights do |t|
      t.column :freshman_id, :integer, :null => false
      t.column :house_id, :integer, :null => false
      t.column :specified_wakeup_time, :datetime, :null => false
      t.column :actual_wakeup_time, :datetime, :null => true
    end
  end

  def self.down
    drop_table :overnights
  end
end
